<!DOCTYPE html>
<html>
<head>
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' />
    <meta name="renderer" content="webkit">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{:lang('title')}</title>
    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
    <link href="/public/admin/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="/public/admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/public/admin/css/animate.css" rel="stylesheet">
    <link href="/public/admin/css/style.css?v=4.0.0" rel="stylesheet">
    <link href="/public/admin/js/plugins/layer/skin/layer.css" rel="stylesheet">

    <!-- 全局js -->
    <script src="/public/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="/public/admin/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="/public/admin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="/public/admin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="/public/admin/js/plugins/layer/layer.min.js"></script>

    <!-- 自定义js -->
    <script src="/public/admin/js/hplus.js?v=4.0.0"></script>
    <script type="text/javascript" src="/public/admin/js/contabs.js"></script>

    <!-- 第三方插件 -->
    <script src="/public/admin/js/plugins/pace/pace.min.js"></script>
    <script src="/public/admin/js/article.js"></script>
    <script src="/public/admin/js/common.js"></script>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span><img alt="image" class="img-circle" src="/public/admin/img/icon.png" width="64" height="64"  style="    border-radius: 0;" /></span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">{$Think.session.user_name}</strong></span>
                                <span class="text-muted text-xs block">{:lang('administrator')}<b class="caret"></b></span>
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <!--<li><a class="J_menuItem" href="form_avatar.html">修改头像</a></li>
                                <li><a class="J_menuItem" href="profile.html">修改密码</a></li>-->
                                <!--</li>
                                <li><a class="J_menuItem" href="contacts.html">联系我们</a>
                                </li>
                                <li><a class="J_menuItem" href="mailbox.html">信箱</a>
                                </li>-->
                                <!--<li class="divider"></li>-->
                                <li><a href="{:url('admin/login/logout')}">{:lang('exit')}</a></li>
                            </ul>
                        </div>
                        <div class="logo-element">
                            <a href="#">展开</a>
                        </div>
                    </li>
                    <li>
                        <a class="J_menuItem" href="{:url('Index/index_v3')}" data-index="0">
                            <i class="fa fa-home"></i>
                            <span class="nav-label">{:lang('index')}</span>
                        </a>
                    </li>
                   {if $Think.session.admin_super == 1}
                    <li>
                        <a href="#"><i class="fa fa-cog"></i><span>权限管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Rule/index')}">权限管理表</a></li>
                            <li><a class="J_menuItem" href="{:url('Rule/group')}">管理组管理</a></li>
                            <li><a class="J_menuItem" href="{:url('Admin/index')}">管理员列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>功能测试</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Box/boxList')}">功能测试</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>{:lang('activity_system')}</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Cert/certList')}">{:lang('activity_list')}</a></li>
                            <li><a class="J_menuItem" href="{:url('Time/index')}">{:lang('time_index')}</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>打卡记录</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Card/codeList')}">卡号管理</a></li>
                            <li><a class="J_menuItem" href="{:url('Card/userList')}">用户管理</a></li>
                            <li><a class="J_menuItem" href="{:url('Card/pointList')}">卡点管理</a></li>
                            <li><a class="J_menuItem" href="{:url('Card/wayList')}">路线管理</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>红外</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Chart/chart_hongwai')}">图表</a></li>
                            <li><a class="J_menuItem" href="{:url('Chart/chart_gls')}">图表gls</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>高速摄像头</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Speed/activityList')}">活动列表</a></li>
                            <li><a class="J_menuItem" href="{:url('Speed/proList')}">项目列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>地图</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Map/area')}">高亮区域</a></li>
                        </ul>
                    </li>
                    {/if}
                    {if $Think.session.admin_super != 1}
                        {if in_array('Admin/Box',$Think.session.rule)}
                        <li>
                            <a href="#"><i class="fa fa-book"></i><span>功能测试</span><span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li><a class="J_menuItem" href="{:url('Box/boxList')}">功能测试</a></li>
                            </ul>
                        </li>
                        <li>
                        {/if}
                        {if in_array('Admin/Cert',$Think.session.rule)}
                        <li>
                            <a href="#"><i class="fa fa-book"></i><span>{:lang('activity_system')}</span><span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li><a class="J_menuItem" href="{:url('Cert/certList')}">{:lang('activity_list')}</a></li>
                                <li><a class="J_menuItem" href="{:url('Time/index')}">{:lang('time_index')}</a></li>
                            </ul>
                        </li>
                        {/if}
                        {if in_array('Admin/Card',$Think.session.rule)}
                        <li>
                            <a href="#"><i class="fa fa-book"></i><span>打卡记录</span><span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li><a class="J_menuItem" href="{:url('Card/codeList')}">卡号管理</a></li>
                                <li><a class="J_menuItem" href="{:url('Card/userList')}">用户管理</a></li>
                                <li><a class="J_menuItem" href="{:url('Card/pointList')}">卡点管理</a></li>
                                <li><a class="J_menuItem" href="{:url('Card/wayList')}">路线管理</a></li>
                            </ul>
                        </li>
                        {/if}
                    {/if}
                    <!--<li>
                        <a href="{:url('Admin/System')}"><i class="fa fa-gears"></i><span>系统设置</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('System/config')}">全局设置</a></li>
                            <li><a class="J_menuItem" href="{:url('System/smtp')}">邮件设置</a></li>
                            <li><a class="J_menuItem" href="{:url('System/navigationList')}">导航设置</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-cog"></i><span>权限管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Rule/index')}">权限管理表</a></li>
                            <li><a class="J_menuItem" href="{:url('Rule/group')}">管理组管理</a></li>
                            <li><a class="J_menuItem" href="{:url('Admin/index')}">管理员列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-user"></i><span>会员中心</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('User/index')}">会员列表</a></li>
                            <li><a class="J_menuItem" href="{:url('Comment/index')}">评论管理</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-book"></i><span>文章系统</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Article/articleList')}">文章列表</a></li>
                            <li><a class="J_menuItem" href="{:url('Article/articleKindList')}">文章栏目</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-tasks"></i><span>商品管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('goods/goodsList')}">商品列表</a></li>
                            <li><a class="J_menuItem" href="{:url('goods/categoryList')}">商品分类</a></li>
                            <li><a class="J_menuItem" href="{:url('goods/goodsTypeList')}">商品类型</a></li>
                            <li><a class="J_menuItem" href="{:url('goods/goodsAttributeList')}">商品属性</a></li>
                            &lt;!&ndash;<li><a class="J_menuItem" href="{:url('goods/brandList')}">商品品牌</a></li>&ndash;&gt;
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-flag"></i><span>订单管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Order/index')}">订单列表</a></li>
                            <li><a class="J_menuItem" href="{:url('Order/delivery_list')}">发货列表</a></li>
                            &lt;!&ndash;<li><a class="J_menuItem" href="{:url('Order/return_list')}">退货列表</a></li>&ndash;&gt;
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-plug"></i><span>插件工具</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Plugin/index')}">支付插件</a></li>
                           &lt;!&ndash; <li><a class="J_menuItem" href="{:url('Tools/index')}">数据备份</a></li>&ndash;&gt;
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-square-o"></i><span>其他管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Other/adsList')}">广告管理</a></li>
                            <li><a class="J_menuItem" href="{:url('Other/adsKind')}">广告分类</a></li>
                            <li><a class="J_menuItem" href="{:url('Other/linkList')}">友情链接</a></li>
                            <li><a class="J_menuItem" href="{:url('Other/linkKind')}">友情链接分类</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-envelope"></i><span>微信管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Wechat/accountForm')}">公众号设置</a></li>
                            <li><a class="J_menuItem" href="{:url('Wechat/subscribeForm')}">关注自动回复</a></li>
                            <li><a class="J_menuItem" href="{:url('Wechat/autoReply')}">文本回复</a></li>
                            <li><a class="J_menuItem" href="{:url('Wechat/menuForm')}">自定义菜单</a></li>
                            <li><a class="J_menuItem" href="{:url('Wechat/replyList')}">请求回复记录</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href=""><i class="fa fa-tasks"></i><span>积分商城管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="{:url('Integration/productList')}">积分商品</a></li>
                            <li><a class="J_menuItem" href="{:url('Integration/categoryList')}">积分商品分类</a></li>
                            <li><a class="J_menuItem" href="{:url('Integration/orderList')}">兑换订单</a></li>
                        </ul>
                    </li>-->
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <!--<a class="navbar-minimalize minimalize-styl-2 btn btn-primary "  target="_blank" href="__APP__"><i class="fa fa-bars"></i> </a>-->
                        <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a></div>
                        <!--<form role="search" class="navbar-form-custom" method="post" action="search_results.html">
                            <div class="form-group">
                                <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                            </div>
                        </form>-->
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown hidden-xs">
                            <div class="btn  {if $_COOKIE['think_var'] != 'en-us'}btn-success{else}btn-default{/if}" onclick="changeLang('cn')">中文</div>
                        </li>
                        <li class="dropdown hidden-xs">
                            <div class="btn  {if $_COOKIE['think_var'] == 'en-us'}btn-success{else}btn-default{/if}" onclick="changeLang('en')">English</div>
                        </li>
                        <!--<li class="dropdown hidden-xs">-->
                            <!--<a class="" href="/userfiles/files/HttpPrinter.rar" download="/userfiles/files/HttpPrinter.rar">-->
                                <!--<i class="fa fa-download"></i> 下载插件-->
                            <!--</a>-->
                        <!--</li>-->
                        <!--<li class="dropdown hidden-xs">-->
                            <!--<a class="" href="/" target="_blank">-->
                                <!--<i class="fa fa-home"></i> 站点首页-->
                            <!--</a>-->
                        <!--</li>-->

                        <!-- <li class="dropdown hidden-xs">
                            <a class="right-sidebar-toggle" aria-expanded="false">
                                <i class="fa fa-tasks"></i> 后台主题
                            </a>
                        </li> -->
                    </ul>
                </nav>
            </div>
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="{:url('Index/index_v3')}">{:lang('index')}</a>
                    </div>
                </nav>
                <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
                </button>
                <div class="btn-group roll-nav roll-right" style="width: 180px;" >
                    <button class="dropdown J_tabClose" style="width: 180px;" data-toggle="dropdown">{:lang('close_operation')}<span class="caret"></span>
                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>{:lang('locate_the_current_tab')}</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>{:lang('close_all_tabs')}</a>
                        </li>
                        <li class="J_tabCloseOther"><a>{:lang('close_other_tabs')}</a>
                        </li>
                    </ul>
                </div>
                <a href="{:url('admin/login/logout')}" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> {:lang('exit')}</a>
            </div>
            <div class="row J_mainContent" id="content-main" data-num="5">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="{:url('Index/main')}" frameborder="0" data-id="{:url('Index/index_v3')}" seamless></iframe>
            </div>
            <div class="footer">
                <div class="pull-right">&copy; 2007-2021 <a href="">爱德医疗</a> 版权所有

                </div>
            </div>
        </div>
        <!--右侧部分结束-->
        <!--右侧边栏开始-->
        <div id="right-sidebar" style="float: right;">
            <div class="sidebar-container">

                <ul class="nav nav-tabs navs-3">

                    <li class="active">
                        <a data-toggle="tab" href="#tab-1">
                            <i class="fa fa-gear"></i> 主题
                        </a>
                    </li>
                    <!--<li class=""><a data-toggle="tab" href="#tab-2">
                        通知
                    </a>
                    </li>
                    <li><a data-toggle="tab" href="#tab-3">
                        项目进度
                    </a>
                    </li>-->
                </ul>

                <div class="tab-content">
                    <div id="tab-1" class="tab-pane active">
                        <div class="sidebar-title">
                            <h3> <i class="fa fa-comments-o"></i> 主题设置</h3>
                            <small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式，这些设置会被保存在本地，下次打开的时候会直接应用这些设置。</small>
                        </div>
                        <div class="skin-setttings">
                            <div class="title">主题设置</div>
                            <div class="setings-item">
                                <span>收起左侧菜单</span>
                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu">
                                        <label class="onoffswitch-label" for="collapsemenu">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="setings-item">
                                <span>固定顶部</span>

                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar">
                                        <label class="onoffswitch-label" for="fixednavbar">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="setings-item">
                                <span>
                        固定宽度
                    </span>
                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
                                        <label class="onoffswitch-label" for="boxedlayout">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="title">皮肤选择</div>
                            <div class="setings-item default-skin nb">
                                <span class="skin-name ">
                         <a href="#" class="s-skin-0">
                             默认皮肤
                         </a>
                    </span>
                            </div>
                            <div class="setings-item blue-skin nb">
                                <span class="skin-name ">
                        <a href="#" class="s-skin-1">
                            蓝色主题
                        </a>
                    </span>
                            </div>
                            <div class="setings-item yellow-skin nb">
                                <span class="skin-name ">
                        <a href="#" class="s-skin-3">
                            黄色/紫色主题
                        </a>
                    </span>
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </div>
        <!--右侧边栏结束-->

    </div>

    <script>
        function changeLang(lang) {
            $.get("{:url('index/changeLang')}",{"lang":lang},function (e) {
                location.reload();
            })
        }
    </script>

</body>
</html>
